import multiprocessing
import time


def test():
    while True:
        print("--1" * 50)
        time.sleep(1)


def test1():
    while True:
        print("--2" * 100)
        time.sleep(1)


p1 = multiprocessing.Process(target=test())
p2 = multiprocessing.Process(target=test1())
p2.start()
p1.start()
